<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="zh">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>登录</title>
    <link href="//static.qintingfm.com/nifty/v2.9/css/bootstrap.min.css" rel="stylesheet"/>
    <link href="//static.qintingfm.com/nifty/v2.9/css/nifty.min.css" rel="stylesheet"/>
    <link href="//static.qintingfm.com/nifty/v2.9/plugins/pace/pace.min.css" rel="stylesheet"/>
    <script src="//static.qintingfm.com/nifty/v2.9/plugins/pace/pace.min.js"></script>
    <meta name="theme-color" th:content="${#themes.code('skinColor')}" content="#fff"/>
    <link id="theme" th:href="${#themes.code('skinCss')}" rel="stylesheet" th:if="${#themes.code('skinCss')}"/>
</head>
<body>
<div id="container" class="cls-container">
    <div id="bg-overlay"></div>
    <div class="cls-content">
        <div class="cls-content-sm panel">
            <div class="panel-body">
                <div class="mar-ver pad-btm">
                    <h1 class="h3">帐号信息找回</h1>
                    <p>请输入你的帐号信息</p>
                </div>
                <form action="#" class="ajaxform" th:action="@{/user/reset}" method="blogPost">
                    <div class="form-group">
                        <input type="text" class="form-control" name="userName" placeholder="用户名"
                               autofocus="autofocus"/>
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="email" placeholder="邮箱"/>
                    </div>
                    <button class="btn btn-primary btn-lg btn-block" type="submit">找回密码</button>
                </form>
            </div>

            <div class="pad-all">
                <a href="#" class="btn-link mar-rgt" th:href="@{/user/login}">登录</a>
                <a href="#" class="btn-link mar-lft" th:href="@{/user/register}">创建帐号</a>
            </div>
        </div>
    </div>
    <!--===================================================-->
    <div style="align-content: center;position: fixed;bottom:0;">
        <p><a href="login.html" th:text="${image.desc}" th:href="${image.link}" target="_blank">图片介绍</a></p>
    </div>
</div>
<script src="//static.qintingfm.com/nifty/v2.9/js/jquery.min.js"></script>
<script src="//static.qintingfm.com/nifty/v2.9/js/bootstrap.min.js"></script>
<script src="//static.qintingfm.com/nifty/v2.9/js/nifty.min.js"></script>
<script src="//static.qintingfm.com/plugins/jquery.dialog.min.js"></script>
<script src="//static.qintingfm.com/plugins/jquery.ajaxform.min.js"></script>
<script th:inline="javascript">
    $('<img alt="" src=""/>').attr('src', [[${image.getImageUrl()}]]).on('load', function () {
        $('#bg-overlay').css('background-image', 'url("' + $(this).attr('src') + '")').addClass('bg-img');
        $(this).remove();
    })
</script>
</body>
</html>
